! 1d 0d

    end if
  else if (a_nd == 1) then
    if (b_nd == 0) then

! 1d 1d same
